import init from '@feidao/web/framework/browser/d/component';

import s from './s';

import { id } from './config';
import * as params from './config';

////////////////////////////////////////////////////////////////////////////////
// import actions
import a000 from './a000';
import a001 from './a001';
import a005 from './a005';
import a006 from './a006';
import a007 from './a007';
import a008 from './a008';
import a009 from './a009';
import a010 from './a010';
import a011 from './a011';
import a002 from './a002';
import a003 from './a003';
import a004 from './a004';
import a021 from './a021';
import a022 from './a022';
import a023 from './a023';
import a024 from './a024';
import a025 from './a025';
import a026 from './a026';
import a027 from './a027';
import a028 from './a028';
import a029 from './a029';
import a0201 from './a0201';
import a0202 from './a0202';
import a0203 from './a0203';
import a0204 from './a0204';
import a031 from './a031';
import a032 from './a032';
import a033 from './a033';
import a034 from './a034';
import a035 from './a035';
import a036 from './a036';
import a041 from './a041';
import a042 from './a042';
import a043 from './a043';
import a044 from './a044';
import a051 from './a051';
import a052 from './a052';
import a053 from './a053';
import a061 from './a061';
import a062 from './a062';
import a063 from './a063';
import a071 from './a071';
import a072 from './a072';
import a091 from './a091';
import a092 from './a092';
import a093 from './a093';
import a094 from './a094';
import a111 from './a111';
import a112 from './a112';
import a113 from './a113';
import a114 from './a114';
import a140 from './a140';
import a141 from './a141';
import a142 from './a142';
import a143 from './a143';
import a144 from './a144';
import a145 from './a145';
import a146 from './a146';
import a147 from './a147';

////////////////////////////////////////////////////////////////////////////////

const actions = {
	a000, a001, a005, a006, a007, a008, a009, a010, a011, a002, a003, a004, a021, a022, a023, a024, a025, a026, a027, a028, a029, a0201, a0202, a0203, a0204, a031, a032, a033, a034, a035, a036, a041, a042, a043, a044, a051, a052, a053, a061, a062, a063, a071, a072, a091, a092, a093, a094, a111, a112, a113, a114, a140, a141, a142, a143, a144, a145, a146, a147
};

export default function main(url: string, query: any) {
	return init(id, s, actions, url, query, params);
}
